import bs4
import sys
import re

scp = sys.stdin.read()
b = bs4.BeautifulSoup(scp)
mainpage = b.find({"div":{"id":"page-content"}})
splitted = mainpage.getText().split("                          ")[1]
r = re.compile(r'rating.*\d*')
matches = r.findall(splitted)
splitted = splitted.replace(matches[0],"")
print(splitted)

